package com.ktjy.pojo;

import java.io.Serializable;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Properties;

public class User implements Serializable {
    private int id;
    private String username;
    private String[] array;
    private Pet pet;
    private List<String> list;

    private Map<String, String> map;

    private Properties properties;

    public User() {
    }

    public User(int id, String username) {
        this.id = id;
        this.username = username;
    }

    public String[] getArray() {
        return array;
    }

    public void setArray(String[] array) {
        this.array = array;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public List<String> getList() {
        return list;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    public Map<String, String> getMap() {
        return map;
    }

    public void setMap(Map<String, String> map) {
        this.map = map;
    }

    public Properties getProperties() {
        return properties;
    }

    public void setProperties(Properties properties) {
        this.properties = properties;
    }

    public Pet getPet() {
        return pet;
    }

    public void setPet(Pet pet) {
        this.pet = pet;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", array=" + Arrays.toString(array) +
                ", pet=" + pet +
                ", list=" + list +
                ", map=" + map +
                ", properties=" + properties +
                '}';
    }
}
